ObservableCollectionAdaptor(int, bool, bool) constructor¶
Defined in
Type: ObservableCollectionAdaptorDynamicData.Binding
Assembly: DynamicData.dll
Applies to
net10.0, netstandard2.0
Overloads¶
-
public ObservableCollectionAdaptor(int refreshThreshold = 25, bool useReplaceForUpdates = true, bool resetOnFirstTimeLoad = true) -
public ObservableCollectionAdaptor(BindingOptions options)
1. Overload¶
public ObservableCollectionAdaptor(int refreshThreshold = 25, bool useReplaceForUpdates = true, bool resetOnFirstTimeLoad = true)
Summary: Represents an adaptor which is used to update observable collection from a change set stream.
Parameters
| Name | Type | Description |
|---|---|---|
refreshThreshold = 25 | int | The threshold before a reset notification is triggered. |
useReplaceForUpdates = true | bool | Use replace instead of remove / add for updates. |
resetOnFirstTimeLoad = true | bool | Should a reset be fired for a first time load.This option is due to historic reasons where a reset would be fired for the first time load regardless of the number of changes. |
Remarks
Initializes a new instance of the ObservableCollectionAdaptor class.
2. Overload¶
public ObservableCollectionAdaptor(BindingOptions options)
Summary: Initializes a new instance of the ObservableCollectionAdaptor class.
Parameters
| Name | Type | Description |
|---|---|---|
options | [BindingOptions](# | The binding options. |